//
//  NetWorkingManager.h
//  绿地管理系统
//
//  Created by rimi on 16/1/20.
//  Copyright © 2016年 hexs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPSessionManager.h"

#define BASE_URL @"http://117.172.47.171:8119/ggc/api.php" //   192.168.10.212/ggc/api.php

typedef void(^SuccessBlock)(id responseObj);
typedef void(^FailureBlock)(NSError *error);

@interface NetWorkingManager : NSObject

+ (void)postWithUrl:(NSString *)url
             params:(NSDictionary *)params
     successHandler:(SuccessBlock)success
     failureHandler:(FailureBlock)failure;

+ (NSDictionary *)paramsByAppendingBaseParams:(NSDictionary *)params module:(NSString *)module;

@end
